package com.jonluo.model;

import com.jonluo.utils.DateUtils;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
 * @author jonluo
 * Date 2017/9/15
 */
public class SysRole implements Serializable {
    /**
    * id
    */
    private String roleId;

    /**
    * 角色名称
    */
    private String roleName;

    /**
    * 备注
    */
    private String remark;


    /**
     * 部门ID
     */
    private String deptId;

    /**
     * 部门ID
     */
    private String deptName;

    /**
    * 创建时间
    */
    private Date createTime;


    private List<String> menuIdList;

    private List<String> deptIdList;



    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getCreateTime() {
        return DateUtils.format(createTime,DateUtils.DATE_TIME_PATTERN);
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public List<String> getMenuIdList() {
        return menuIdList;
    }

    public void setMenuIdList(List<String> menuIdList) {
        this.menuIdList = menuIdList;
    }

    public List<String> getDeptIdList() {
        return deptIdList;
    }

    public void setDeptIdList(List<String> deptIdList) {
        this.deptIdList = deptIdList;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }
}